fix(openrouter): use model context length#3088
Conversation
108ad39 to
c7990b3
Compare
# Conflicts: # packages/core/test/sync.test.ts
|
The change is well-targeted and internally consistent. The logic switch at
|
Summary
context_lengthfor syncedlimit.contexttop_provider.max_completion_tokensas the output limit sourcexiaomi/mimo-v2.5OpenRouter TOML by removing the stale 32K context overridetop_provider.context_lengthvaluesFixes #2796.
Validation
bun test packages/core/test/sync.test.tsbun run testfrompackages/sdkbun validategit diff --checkbun models:sync openrouter --dry-run/bun models:sync openroutershowed the targetxiaomi/mimo-v2.5.tomldata fix; unrelated live OpenRouter catalog drift was not includedKnown existing failure
bun teststill failscatalog generation > repository open-weight model metadata includes weights linksbecause existing model metadata entries are missing weights links (for examplenvidia/nemotron-3-super-120b-a12band related entries).